<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>index</title>
    <script type="text/javascript" src="http://www.masaikk.xyz/jquery-3.5.1.min.js"></script>
    <script type="text/javascript">
        function send_ajax(){
            let mess=$("#m").val();
            // alert(mess);
            // $("#m").val('...')
            $.ajax({
                type:"GET",
                url:'./moives.php',
                data:{
                  mess
                },
                success:(e)=>{
                    console.log(e);
                    alert(e);
                    },


                    })
        }
    </script>
</head>
<body>
<div>
    <form method="get" action="moives.php">
        <input type="text" name="m" id="m" value="123">
        <input type="submit">
    </form>
    <div>
        <input type="button" value="click" onclick="send_ajax()">
    </div>
</div>

</body>
</html>